package com.myway.dao;


import com.myway.dto.vo.FlyTicketVo;
import com.myway.pojo.FlyTicket;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface FlyTicketMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FlyTicket record);

    int insertSelective(FlyTicket record);

    FlyTicket selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FlyTicket record);

    int updateByPrimaryKey(FlyTicket record);

    List<FlyTicket> findTicketByTicketNo(Map map);

    List<FlyTicketVo> selectVoByPrimaryKey(@Param("orderId") Long orderId);
}